package com.yl.chainStore.payrule.order.entity

import com.yl.chainStore.entity.pay.PayCustomerOrder
import com.yl.chainStore.payrule.order.OrderRule
import com.yl.common.control.ResponseBody
import com.yl.common.control.returnSuccess
import org.springframework.stereotype.Component

@Component
class DefaultOrderRule: OrderRule {

	override fun validationSelf(): ResponseBody {
		return returnSuccess()
	}

	override fun canUseForOrder(order: PayCustomerOrder): Boolean {
		return false
	}
}
